<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once BASE_PATH.'application/controllers/base'.EXT;

class Pruebas extends Base {

    public function __construct()
    {
         parent::__construct();
         $this->load->model("pruebadao");
    }

    
    public function index()
    {
        $prubeas = $this->pruebadao->select(array(
                                        "select" => "prueba_k id,prueba nombre",
                                       "order" => array("prueba_k","ASC")
                                       ));
        
	echo getJson($prubeas);
    }
    
}

?>